package com.ai.web.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@Data
@ToString
public class SysDictAddReq implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "字典ID")
    @NotBlank(message="字典名称不能为空")
    private String id;

    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称")
    private String name;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

}
